//
//  SEGActivityInvitaionModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/24.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGActivityInvitaionModel.h"

@implementation SEGActivityInvitaionModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _bckPic = @"";
        _offlineTime = @"";
        _giftName = @"";
        _offlineName = @"";
        _offlineAddr = @"";
        _inviteCode = @"";
        _nickName = @"";
        _preCount = 0;
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setBckPic:(NSString*)bckPic{
    _bckPic = [[SEGUtils ValueToString:bckPic]copy];
}
- (void)setOfflineTime:(NSString*)offlineTime{
    _offlineTime = [[SEGUtils ValueToString:offlineTime]copy];
}
- (void)setGiftName:(NSString*)giftName{
    _giftName = [[SEGUtils ValueToString:giftName]copy];
}
- (void)setOfflineName:(NSString*)offlineName{
    _offlineName = [[SEGUtils ValueToString:offlineName]copy];
}
- (void)setOfflineAddr:(NSString*)offlineAddr{
    _offlineAddr = [[SEGUtils ValueToString:offlineAddr]copy];
}
- (void)setInviteCode:(NSString*)inviteCode{
    _inviteCode = [[SEGUtils ValueToString:inviteCode]copy];
}
- (void)setNickName:(NSString*)nickName{
    _nickName = [[SEGUtils ValueToString:nickName]copy];
}
- (void)setPreCount:(NSInteger)preCount {
    _preCount = preCount;
}

@end
